<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:if test="${noResrlt}">
	<div class="alert alert-warning">
		<button type="button" class="close" data-dismiss="alert">
			<i class="ace-icon fa fa-times"></i>
		</button>
		<strong>温馨提示：</strong>
			该用户没有记录
		<br>
	</div>
</c:if>
<c:if test="${!noResrlt}">
<div class="col-sm-12 infobox-container">
<div onclick="loadOwnDetail()" style="cursor: pointer;" class="btn btn-info btn-white  infobox infobox-green">
	<div class="infobox-icon">
		<i class="ace-icon fa fa-gamepad"></i>
	</div>

	<div class="infobox-data">
		<span class="infobox-data-number">${ownSum==null?0:ownSum}</span>
		<div class="infobox-content">关联用户本人充值总额</div>
	</div>
</div>

<div onclick="loadOwnDetail()" style="cursor: pointer;" class="btn btn-info btn-white  infobox infobox-blue">
	<div class="infobox-icon">
		<i class="ace-icon fa fa-user-plus"></i>
	</div>

	<div class="infobox-data">
		<span class="infobox-data-number">${ownCount==null?0:ownCount}</span>
		<div class="infobox-content">关联用户本人充值总笔数</div>
	</div>
</div>

<div onclick="loadPlayerDetail()" style="cursor: pointer;" class="btn btn-info btn-white  infobox infobox-pink">
	<div class="infobox-icon">
		<i class="ace-icon fa fa-paper-plane"></i>
	</div>

	<div class="infobox-data">
		<span class="infobox-data-number">${playerSum==null?0:playerSum}</span>
		<div class="infobox-content">关联用户下属玩家充值</div>
	</div>
</div>
<!-- 
<div onclick="loadAgentDetail()" style="cursor: pointer;" class="btn btn-info btn-white  infobox infobox-red">
	<div class="infobox-icon">
		<i class="ace-icon fa fa-diamond"></i>
	</div>

	<div class="infobox-data">
		<span class="infobox-data-number">${agentSum}</span>
		<div class="infobox-content">下属代理充值</div>
	</div>
</div>
 -->
<div onclick="loadAgentDetail()" style="cursor: pointer;" class="btn btn-info btn-white  infobox infobox-orange2">
	<div class="infobox-chart">
		<span class="sparkline" data-values="196,128,202,177,154,94,100,170,224">
		<i class="ace-icon fa fa-rmb"></i>
		</span>
	</div>

	<div class="infobox-data">
		<span class="infobox-data-number">${ownSum+playerSum+agentSum}</span>
		<div class="infobox-content">关联用户总充值金额</div>
	</div>
</div>

</div>

<div class="col-sm-12 infobox-container" style="margin-top:5px;">
	<div class="width-80 label label-info label-xlg arrowed-in arrowed-in-right">
		<div class="inline position-relative">
			<a href="#" class="user-title-label dropdown-toggle" data-toggle="dropdown">
				<span class="white">${adminUser.account }（${adminUser.roleName}）
				关联用户:${adminIdsDisplay }
				</span>
			</a>
		</div>
	</div>
</div>

<form id="queryDetailForm">
<input type="hidden" name="agentId" value="${userData.agentId }"/>
<input type="hidden" name="userId"  value="${userData.userId }"/>
<input type="hidden" name="sd" value="${sd }"/>
<input type="hidden" name="ed" value="${ed }"/>
<input type="hidden" name="type" value=""/>
</form>

<div class="col-xs-12" style="margin-top:5px;" id='profileDataList'>
</div>
</c:if>